package com.ssm.Service;

import com.ssm.Dao.CateDao;

import java.util.List;

public class CategoryService {

    public List<Object> findAll(){

        CateDao cateDao=new CateDao();

        List<Object> objects = cateDao.find();

//        for(Object object : objects){
//            Object[] tmp = (Object[]) object;
//            for(Object o: tmp){
//                System.out.println(o.toString());
//            }
//        }
        return objects;
    }
}
